package cc.yaomm.common.basic.base;

import cc.yaomm.common.basic.util.BeanUtils;

import java.io.Serializable;

/**
 * Created by XQL on 2021/6/28.
 * 简单对象的顶级父类
 */
public class SuperPOJO implements Serializable {

    public <P> P convert(Class<P> clazz) {
        return BeanUtils.map(this, clazz);
    }

}
